﻿using System;
using System.Collections.Generic;
using Swashbuckle.AspNetCore.Annotations;

namespace Leo.Awesome.DictionaryManagement.Dtos
{
    [SwaggerSchema(Required = new[] { "创建或更新DTO" })]
    public class SectionCreateUpdateInput
    {
        /// <summary>
        /// Id
        /// </summary>
        public Guid? Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string TreePath { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int OrderIndex { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 域
        /// </summary>
        public string Domain { get; set; } = "AppPlatformServices";

        /// <summary>
        /// 是否为系统字段
        /// </summary>
        public bool IsSystem { get; set; } = false;

    }
}
